[INFO] fetching crate rslint_errors 0.2.0...
[INFO] fixing rslint_errors-0.2.0 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] extracting crate rslint_errors 0.2.0 into /workspace/builds/worker-0-tc2/source
[INFO] started tweaking crates.io crate rslint_errors 0.2.0
[INFO] finished tweaking crates.io crate rslint_errors 0.2.0
[INFO] tweaked toml for crates.io crate rslint_errors 0.2.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate rslint_errors 0.2.0 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]      Locking 72 packages to latest compatible versions
[INFO] [stderr]       Adding colored v2.2.0 (available: v3.1.1)
[INFO] [stderr]       Adding lsp-types v0.81.0 (available: v0.97.0)
[INFO] [stderr]       Adding unicode-width v0.1.14 (available: v0.2.2)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 44d0918a821ecbeecd481795b5f5e406958e29c5ed349bee9325959f7fbad14c
[INFO] running `Command { std: "docker" "start" "44d0918a821ecbeecd481795b5f5e406958e29c5ed349bee9325959f7fbad14c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "44d0918a821ecbeecd481795b5f5e406958e29c5ed349bee9325959f7fbad14c" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "44d0918a821ecbeecd481795b5f5e406958e29c5ed349bee9325959f7fbad14c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "44d0918a821ecbeecd481795b5f5e406958e29c5ed349bee9325959f7fbad14c" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2018 edition to 2021
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]     Checking text-size v1.1.1
[INFO] [stderr]     Checking hashbrown v0.9.1
[INFO] [stderr]    Compiling erasable v1.3.0
[INFO] [stderr]    Compiling slice-dst v1.6.0
[INFO] [stderr]     Checking colored v2.2.0
[INFO] [stderr]     Checking smol_str v0.1.24
[INFO] [stderr]     Checking triomphe v0.1.15
[INFO] [stderr]     Checking rslint_rowan v0.10.0
[INFO] [stderr]     Checking rowan v0.10.6
[INFO] [stderr]     Checking rslint_text_edit v0.1.0
[INFO] [stderr]     Checking rslint_errors v0.2.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2018 edition to 2021
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.35s
[INFO] [stderr] crater-edition-check: rslint_errors v0.2.0 (/opt/rustwide/workdir) updating edition from 2018 to 2021
[INFO] [stderr]     Checking rslint_errors v0.2.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.02s
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2018 edition to 2021
[INFO] [stderr]     Checking rslint_errors v0.2.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stdout] warning: `impl Iterator<Item = (Metrics, char)>` will capture more lifetimes than possibly intended in edition 2024
[INFO] [stdout]    --> src/codespan/term/renderer.rs:714:10
[INFO] [stdout]     |
[INFO] [stdout] 714 |     ) -> impl Iterator<Item = (Metrics, char)> {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: specifically, these lifetimes are in scope but not mentioned in the type's bounds
[INFO] [stdout]    --> src/codespan/term/renderer.rs:116:6
[INFO] [stdout]     |
[INFO] [stdout] 116 | impl<'writer, 'config> Renderer<'writer, 'config> {
[INFO] [stdout]     |      ^^^^^^^  ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 712 |         &self,
[INFO] [stdout]     |         ^
[INFO] [stdout]     = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/codespan/term/renderer.rs:713:23
[INFO] [stdout]     |
[INFO] [stdout] 713 |         char_indices: impl Iterator<Item = (usize, char)>,
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/rpit-lifetime-capture.html>
[INFO] [stdout]     = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 711 ~     fn char_metrics<T: Iterator<Item = (usize, char)>>(
[INFO] [stdout] 712 |         &self,
[INFO] [stdout] 713 ~         char_indices: T,
[INFO] [stdout] 714 ~     ) -> impl Iterator<Item = (Metrics, char)> + use<T> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `impl Iterator<Item = (Metrics, char)>` will capture more lifetimes than possibly intended in edition 2024
[INFO] [stdout]    --> src/codespan/term/renderer.rs:714:10
[INFO] [stdout]     |
[INFO] [stdout] 714 |     ) -> impl Iterator<Item = (Metrics, char)> {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: specifically, these lifetimes are in scope but not mentioned in the type's bounds
[INFO] [stdout]    --> src/codespan/term/renderer.rs:116:6
[INFO] [stdout]     |
[INFO] [stdout] 116 | impl<'writer, 'config> Renderer<'writer, 'config> {
[INFO] [stdout]     |      ^^^^^^^  ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 712 |         &self,
[INFO] [stdout]     |         ^
[INFO] [stdout]     = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/codespan/term/renderer.rs:713:23
[INFO] [stdout]     |
[INFO] [stdout] 713 |         char_indices: impl Iterator<Item = (usize, char)>,
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/rpit-lifetime-capture.html>
[INFO] [stdout]     = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 711 ~     fn char_metrics<T: Iterator<Item = (usize, char)>>(
[INFO] [stdout] 712 |         &self,
[INFO] [stdout] 713 ~         char_indices: T,
[INFO] [stdout] 714 ~     ) -> impl Iterator<Item = (Metrics, char)> + use<T> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.08s
[INFO] [stderr] crater-edition-check: rslint_errors v0.2.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking rslint_errors v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable
[INFO] [stdout]    --> src/codespan/term/renderer.rs:295:21
[INFO] [stdout]     |
[INFO] [stdout] 278 |             for (metrics, ch) in self.char_metrics(source.char_indices()) {
[INFO] [stdout]     |                                  ----------------------------------------
[INFO] [stdout]     |                                  |
[INFO] [stdout]     |                                  immutable borrow occurs here
[INFO] [stdout]     |                                  a temporary with access to the immutable borrow is created here ...
[INFO] [stdout] ...
[INFO] [stdout] 295 |                     self.set_color(self.styles().label(severity, LabelStyle::Primary))?;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 306 |             }
[INFO] [stdout]     |             - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Iterator<Item = (Metrics, char)>`
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/codespan/term/renderer.rs:278:34
[INFO] [stdout]     |
[INFO] [stdout] 278 |             for (metrics, ch) in self.char_metrics(source.char_indices()) {
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/codespan/term/renderer.rs:713:23
[INFO] [stdout]     |
[INFO] [stdout] 713 |         char_indices: impl Iterator<Item = (usize, char)>,
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 711 ~     fn char_metrics<T: Iterator<Item = (usize, char)>>(
[INFO] [stdout] 712 |         &self,
[INFO] [stdout] 713 ~         char_indices: T,
[INFO] [stdout] 714 ~     ) -> impl Iterator<Item = (Metrics, char)> + use<T> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable
[INFO] [stdout]    --> src/codespan/term/renderer.rs:298:21
[INFO] [stdout]     |
[INFO] [stdout] 278 |             for (metrics, ch) in self.char_metrics(source.char_indices()) {
[INFO] [stdout]     |                                  ----------------------------------------
[INFO] [stdout]     |                                  |
[INFO] [stdout]     |                                  immutable borrow occurs here
[INFO] [stdout]     |                                  a temporary with access to the immutable borrow is created here ...
[INFO] [stdout] ...
[INFO] [stdout] 298 |                     self.reset()?;
[INFO] [stdout]     |                     ^^^^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 306 |             }
[INFO] [stdout]     |             - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Iterator<Item = (Metrics, char)>`
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/codespan/term/renderer.rs:278:34
[INFO] [stdout]     |
[INFO] [stdout] 278 |             for (metrics, ch) in self.char_metrics(source.char_indices()) {
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/codespan/term/renderer.rs:713:23
[INFO] [stdout]     |
[INFO] [stdout] 713 |         char_indices: impl Iterator<Item = (usize, char)>,
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 711 ~     fn char_metrics<T: Iterator<Item = (usize, char)>>(
[INFO] [stdout] 712 |         &self,
[INFO] [stdout] 713 ~         char_indices: T,
[INFO] [stdout] 714 ~     ) -> impl Iterator<Item = (Metrics, char)> + use<T> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0500]: closure requires unique access to `*self` but it is already borrowed
[INFO] [stdout]    --> src/codespan/term/renderer.rs:303:69
[INFO] [stdout]     |
[INFO] [stdout] 278 |             for (metrics, ch) in self.char_metrics(source.char_indices()) {
[INFO] [stdout]     |                                  ----------------------------------------
[INFO] [stdout]     |                                  |
[INFO] [stdout]     |                                  borrow occurs here
[INFO] [stdout]     |                                  a temporary with access to the first borrow is created here ...
[INFO] [stdout] ...
[INFO] [stdout] 303 |                     '\t' => (0..metrics.unicode_width).try_for_each(|_| write!(self, " "))?,
[INFO] [stdout]     |                                                                     ^^^        ---- second borrow occurs due to use of `*self` in closure
[INFO] [stdout]     |                                                                     |
[INFO] [stdout]     |                                                                     closure construction occurs here
[INFO] [stdout] ...
[INFO] [stdout] 306 |             }
[INFO] [stdout]     |             - ... and the first borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Iterator<Item = (Metrics, char)>`
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/codespan/term/renderer.rs:278:34
[INFO] [stdout]     |
[INFO] [stdout] 278 |             for (metrics, ch) in self.char_metrics(source.char_indices()) {
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/codespan/term/renderer.rs:713:23
[INFO] [stdout]     |
[INFO] [stdout] 713 |         char_indices: impl Iterator<Item = (usize, char)>,
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 711 ~     fn char_metrics<T: Iterator<Item = (usize, char)>>(
[INFO] [stdout] 712 |         &self,
[INFO] [stdout] 713 ~         char_indices: T,
[INFO] [stdout] 714 ~     ) -> impl Iterator<Item = (Metrics, char)> + use<T> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable
[INFO] [stdout]    --> src/codespan/term/renderer.rs:435:33
[INFO] [stdout]     |
[INFO] [stdout] 413 |               for (metrics, ch) in self
[INFO] [stdout]     |                                    ----
[INFO] [stdout]     |                                    |
[INFO] [stdout]     |  __________________________________immutable borrow occurs here
[INFO] [stdout]     | |
[INFO] [stdout] 414 | |                 .char_metrics(source.char_indices())
[INFO] [stdout] ...   |
[INFO] [stdout] 422 | |                 .chain(std::iter::once((placeholder_metrics, '\0')))
[INFO] [stdout]     | |____________________________________________________________________- a temporary with access to the immutable borrow is created here ...
[INFO] [stdout] ...
[INFO] [stdout] 435 |                           None => self.reset()?,
[INFO] [stdout]     |                                   ^^^^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 455 |               }
[INFO] [stdout]     |               - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `std::iter::Chain<impl Iterator<Item = (Metrics, char)>, std::iter::Once<(Metrics, char)>>`
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/codespan/term/renderer.rs:413:34
[INFO] [stdout]     |
[INFO] [stdout] 413 |               for (metrics, ch) in self
[INFO] [stdout]     |  __________________________________^
[INFO] [stdout] 414 | |                 .char_metrics(source.char_indices())
[INFO] [stdout]     | |____________________________________________________^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/codespan/term/renderer.rs:713:23
[INFO] [stdout]     |
[INFO] [stdout] 713 |         char_indices: impl Iterator<Item = (usize, char)>,
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 711 ~     fn char_metrics<T: Iterator<Item = (usize, char)>>(
[INFO] [stdout] 712 |         &self,
[INFO] [stdout] 713 ~         char_indices: T,
[INFO] [stdout] 714 ~     ) -> impl Iterator<Item = (Metrics, char)> + use<T> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable
[INFO] [stdout]    --> src/codespan/term/renderer.rs:437:29
[INFO] [stdout]     |
[INFO] [stdout] 413 |               for (metrics, ch) in self
[INFO] [stdout]     |                                    ----
[INFO] [stdout]     |                                    |
[INFO] [stdout]     |  __________________________________immutable borrow occurs here
[INFO] [stdout]     | |
[INFO] [stdout] 414 | |                 .char_metrics(source.char_indices())
[INFO] [stdout] ...   |
[INFO] [stdout] 422 | |                 .chain(std::iter::once((placeholder_metrics, '\0')))
[INFO] [stdout]     | |____________________________________________________________________- a temporary with access to the immutable borrow is created here ...
[INFO] [stdout] ...
[INFO] [stdout] 437 |                               self.set_color(self.styles().label(severity, label_style))?;
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 455 |               }
[INFO] [stdout]     |               - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `std::iter::Chain<impl Iterator<Item = (Metrics, char)>, std::iter::Once<(Metrics, char)>>`
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/codespan/term/renderer.rs:413:34
[INFO] [stdout]     |
[INFO] [stdout] 413 |               for (metrics, ch) in self
[INFO] [stdout]     |  __________________________________^
[INFO] [stdout] 414 | |                 .char_metrics(source.char_indices())
[INFO] [stdout]     | |____________________________________________________^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/codespan/term/renderer.rs:713:23
[INFO] [stdout]     |
[INFO] [stdout] 713 |         char_indices: impl Iterator<Item = (usize, char)>,
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 711 ~     fn char_metrics<T: Iterator<Item = (usize, char)>>(
[INFO] [stdout] 712 |         &self,
[INFO] [stdout] 713 ~         char_indices: T,
[INFO] [stdout] 714 ~     ) -> impl Iterator<Item = (Metrics, char)> + use<T> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0500]: closure requires unique access to `*self` but it is already borrowed
[INFO] [stdout]    --> src/codespan/term/renderer.rs:451:61
[INFO] [stdout]     |
[INFO] [stdout] 413 |               for (metrics, ch) in self
[INFO] [stdout]     |                                    ----
[INFO] [stdout]     |                                    |
[INFO] [stdout]     |  __________________________________borrow occurs here
[INFO] [stdout]     | |
[INFO] [stdout] 414 | |                 .char_metrics(source.char_indices())
[INFO] [stdout] ...   |
[INFO] [stdout] 422 | |                 .chain(std::iter::once((placeholder_metrics, '\0')))
[INFO] [stdout]     | |____________________________________________________________________- a temporary with access to the first borrow is created here ...
[INFO] [stdout] ...
[INFO] [stdout] 451 |                       (0..metrics.unicode_width).try_for_each(|_| write!(self, "{}", caret_ch))?;
[INFO] [stdout]     |                                                               ^^^        ---- second borrow occurs due to use of `*self` in closure
[INFO] [stdout]     |                                                               |
[INFO] [stdout]     |                                                               closure construction occurs here
[INFO] [stdout] ...
[INFO] [stdout] 455 |               }
[INFO] [stdout]     |               - ... and the first borrow might be used here, when that temporary is dropped and runs the destructor for type `std::iter::Chain<impl Iterator<Item = (Metrics, char)>, std::iter::Once<(Metrics, char)>>`
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/codespan/term/renderer.rs:413:34
[INFO] [stdout]     |
[INFO] [stdout] 413 |               for (metrics, ch) in self
[INFO] [stdout]     |  __________________________________^
[INFO] [stdout] 414 | |                 .char_metrics(source.char_indices())
[INFO] [stdout]     | |____________________________________________________^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/codespan/term/renderer.rs:713:23
[INFO] [stdout]     |
[INFO] [stdout] 713 |         char_indices: impl Iterator<Item = (usize, char)>,
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 711 ~     fn char_metrics<T: Iterator<Item = (usize, char)>>(
[INFO] [stdout] 712 |         &self,
[INFO] [stdout] 713 ~         char_indices: T,
[INFO] [stdout] 714 ~     ) -> impl Iterator<Item = (Metrics, char)> + use<T> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable
[INFO] [stdout]    --> src/codespan/term/renderer.rs:304:26
[INFO] [stdout]     |
[INFO] [stdout] 278 |             for (metrics, ch) in self.char_metrics(source.char_indices()) {
[INFO] [stdout]     |                                  ----------------------------------------
[INFO] [stdout]     |                                  |
[INFO] [stdout]     |                                  immutable borrow occurs here
[INFO] [stdout]     |                                  a temporary with access to the immutable borrow is created here ...
[INFO] [stdout] ...
[INFO] [stdout] 304 |                     _ => write!(self, "{}", ch)?,
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] 305 |                 }
[INFO] [stdout] 306 |             }
[INFO] [stdout]     |             - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Iterator<Item = (Metrics, char)>`
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/codespan/term/renderer.rs:278:34
[INFO] [stdout]     |
[INFO] [stdout] 278 |             for (metrics, ch) in self.char_metrics(source.char_indices()) {
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/codespan/term/renderer.rs:713:23
[INFO] [stdout]     |
[INFO] [stdout] 713 |         char_indices: impl Iterator<Item = (usize, char)>,
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 711 ~     fn char_metrics<T: Iterator<Item = (usize, char)>>(
[INFO] [stdout] 712 |         &self,
[INFO] [stdout] 713 ~         char_indices: T,
[INFO] [stdout] 714 ~     ) -> impl Iterator<Item = (Metrics, char)> + use<T> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable
[INFO] [stdout]    --> src/codespan/term/renderer.rs:806:21
[INFO] [stdout]     |
[INFO] [stdout] 796 |         for (metrics, ch) in self.char_metrics(char_indices) {
[INFO] [stdout]     |                              -------------------------------
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              immutable borrow occurs here
[INFO] [stdout]     |                              a temporary with access to the immutable borrow is created here ...
[INFO] [stdout] ...
[INFO] [stdout] 806 |                     self.set_color(self.styles().label(severity, label_style))?;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 816 |         }
[INFO] [stdout]     |         - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Iterator<Item = (Metrics, char)>`
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/codespan/term/renderer.rs:796:30
[INFO] [stdout]     |
[INFO] [stdout] 796 |         for (metrics, ch) in self.char_metrics(char_indices) {
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/codespan/term/renderer.rs:713:23
[INFO] [stdout]     |
[INFO] [stdout] 713 |         char_indices: impl Iterator<Item = (usize, char)>,
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 711 ~     fn char_metrics<T: Iterator<Item = (usize, char)>>(
[INFO] [stdout] 712 |         &self,
[INFO] [stdout] 713 ~         char_indices: T,
[INFO] [stdout] 714 ~     ) -> impl Iterator<Item = (Metrics, char)> + use<T> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable
[INFO] [stdout]    --> src/codespan/term/renderer.rs:808:21
[INFO] [stdout]     |
[INFO] [stdout] 796 |         for (metrics, ch) in self.char_metrics(char_indices) {
[INFO] [stdout]     |                              -------------------------------
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              immutable borrow occurs here
[INFO] [stdout]     |                              a temporary with access to the immutable borrow is created here ...
[INFO] [stdout] ...
[INFO] [stdout] 808 |                     self.reset()?;
[INFO] [stdout]     |                     ^^^^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 816 |         }
[INFO] [stdout]     |         - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Iterator<Item = (Metrics, char)>`
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/codespan/term/renderer.rs:796:30
[INFO] [stdout]     |
[INFO] [stdout] 796 |         for (metrics, ch) in self.char_metrics(char_indices) {
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/codespan/term/renderer.rs:713:23
[INFO] [stdout]     |
[INFO] [stdout] 713 |         char_indices: impl Iterator<Item = (usize, char)>,
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 711 ~     fn char_metrics<T: Iterator<Item = (usize, char)>>(
[INFO] [stdout] 712 |         &self,
[INFO] [stdout] 713 ~         char_indices: T,
[INFO] [stdout] 714 ~     ) -> impl Iterator<Item = (Metrics, char)> + use<T> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0500]: closure requires unique access to `*self` but it is already borrowed
[INFO] [stdout]    --> src/codespan/term/renderer.rs:814:37
[INFO] [stdout]     |
[INFO] [stdout] 796 |         for (metrics, ch) in self.char_metrics(char_indices) {
[INFO] [stdout]     |                              -------------------------------
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              borrow occurs here
[INFO] [stdout]     |                              a temporary with access to the first borrow is created here ...
[INFO] [stdout] ...
[INFO] [stdout] 814 |                 spaces.try_for_each(|_| write!(self, " "))?;
[INFO] [stdout]     |                                     ^^^        ---- second borrow occurs due to use of `*self` in closure
[INFO] [stdout]     |                                     |
[INFO] [stdout]     |                                     closure construction occurs here
[INFO] [stdout] 815 |             }
[INFO] [stdout] 816 |         }
[INFO] [stdout]     |         - ... and the first borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Iterator<Item = (Metrics, char)>`
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/codespan/term/renderer.rs:796:30
[INFO] [stdout]     |
[INFO] [stdout] 796 |         for (metrics, ch) in self.char_metrics(char_indices) {
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/codespan/term/renderer.rs:713:23
[INFO] [stdout]     |
[INFO] [stdout] 713 |         char_indices: impl Iterator<Item = (usize, char)>,
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 711 ~     fn char_metrics<T: Iterator<Item = (usize, char)>>(
[INFO] [stdout] 712 |         &self,
[INFO] [stdout] 713 ~         char_indices: T,
[INFO] [stdout] 714 ~     ) -> impl Iterator<Item = (Metrics, char)> + use<T> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable
[INFO] [stdout]    --> src/codespan/term/renderer.rs:807:21
[INFO] [stdout]     |
[INFO] [stdout] 796 |         for (metrics, ch) in self.char_metrics(char_indices) {
[INFO] [stdout]     |                              -------------------------------
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              immutable borrow occurs here
[INFO] [stdout]     |                              a temporary with access to the immutable borrow is created here ...
[INFO] [stdout] ...
[INFO] [stdout] 807 |                     write!(self, "{}", self.chars().pointer_left)?;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 816 |         }
[INFO] [stdout]     |         - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Iterator<Item = (Metrics, char)>`
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/codespan/term/renderer.rs:796:30
[INFO] [stdout]     |
[INFO] [stdout] 796 |         for (metrics, ch) in self.char_metrics(char_indices) {
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/codespan/term/renderer.rs:713:23
[INFO] [stdout]     |
[INFO] [stdout] 713 |         char_indices: impl Iterator<Item = (usize, char)>,
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 711 ~     fn char_metrics<T: Iterator<Item = (usize, char)>>(
[INFO] [stdout] 712 |         &self,
[INFO] [stdout] 713 ~         char_indices: T,
[INFO] [stdout] 714 ~     ) -> impl Iterator<Item = (Metrics, char)> + use<T> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0500]: closure requires unique access to `*self` but it is already borrowed
[INFO] [stdout]    --> src/codespan/term/renderer.rs:901:31
[INFO] [stdout]     |
[INFO] [stdout] 895 |           for (metrics, _) in self
[INFO] [stdout]     |                               ----
[INFO] [stdout]     |                               |
[INFO] [stdout]     |  _____________________________borrow occurs here
[INFO] [stdout]     | |
[INFO] [stdout] 896 | |             .char_metrics(source.char_indices())
[INFO] [stdout] 897 | |             .take_while(|(metrics, _)| metrics.byte_index < start + 1)
[INFO] [stdout]     | |______________________________________________________________________- a temporary with access to the first borrow is created here ...
[INFO] [stdout] ...
[INFO] [stdout] 901 |                   .try_for_each(|_| write!(self, "{}", self.chars().multi_top))?;
[INFO] [stdout]     |                                 ^^^        ---- second borrow occurs due to use of `*self` in closure
[INFO] [stdout]     |                                 |
[INFO] [stdout]     |                                 closure construction occurs here
[INFO] [stdout] 902 |           }
[INFO] [stdout]     |           - ... and the first borrow might be used here, when that temporary is dropped and runs the destructor for type `TakeWhile<impl Iterator<Item = (Metrics, char)>, {closure@src/codespan/term/renderer.rs:897:25: 897:39}>`
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/codespan/term/renderer.rs:895:29
[INFO] [stdout]     |
[INFO] [stdout] 895 |           for (metrics, _) in self
[INFO] [stdout]     |  _____________________________^
[INFO] [stdout] 896 | |             .char_metrics(source.char_indices())
[INFO] [stdout]     | |________________________________________________^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/codespan/term/renderer.rs:713:23
[INFO] [stdout]     |
[INFO] [stdout] 713 |         char_indices: impl Iterator<Item = (usize, char)>,
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 711 ~     fn char_metrics<T: Iterator<Item = (usize, char)>>(
[INFO] [stdout] 712 |         &self,
[INFO] [stdout] 713 ~         char_indices: T,
[INFO] [stdout] 714 ~     ) -> impl Iterator<Item = (Metrics, char)> + use<T> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0500]: closure requires unique access to `*self` but it is already borrowed
[INFO] [stdout]    --> src/codespan/term/renderer.rs:935:31
[INFO] [stdout]     |
[INFO] [stdout] 929 |           for (metrics, _) in self
[INFO] [stdout]     |                               ----
[INFO] [stdout]     |                               |
[INFO] [stdout]     |  _____________________________borrow occurs here
[INFO] [stdout]     | |
[INFO] [stdout] 930 | |             .char_metrics(source.char_indices())
[INFO] [stdout] 931 | |             .take_while(|(metrics, _)| metrics.byte_index < start)
[INFO] [stdout]     | |__________________________________________________________________- a temporary with access to the first borrow is created here ...
[INFO] [stdout] ...
[INFO] [stdout] 935 |                   .try_for_each(|_| write!(self, "{}", self.chars().multi_bottom))?;
[INFO] [stdout]     |                                 ^^^        ---- second borrow occurs due to use of `*self` in closure
[INFO] [stdout]     |                                 |
[INFO] [stdout]     |                                 closure construction occurs here
[INFO] [stdout] 936 |           }
[INFO] [stdout]     |           - ... and the first borrow might be used here, when that temporary is dropped and runs the destructor for type `TakeWhile<impl Iterator<Item = (Metrics, char)>, {closure@src/codespan/term/renderer.rs:931:25: 931:39}>`
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/codespan/term/renderer.rs:929:29
[INFO] [stdout]     |
[INFO] [stdout] 929 |           for (metrics, _) in self
[INFO] [stdout]     |  _____________________________^
[INFO] [stdout] 930 | |             .char_metrics(source.char_indices())
[INFO] [stdout]     | |________________________________________________^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/codespan/term/renderer.rs:713:23
[INFO] [stdout]     |
[INFO] [stdout] 713 |         char_indices: impl Iterator<Item = (usize, char)>,
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 711 ~     fn char_metrics<T: Iterator<Item = (usize, char)>>(
[INFO] [stdout] 712 |         &self,
[INFO] [stdout] 713 ~         char_indices: T,
[INFO] [stdout] 714 ~     ) -> impl Iterator<Item = (Metrics, char)> + use<T> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable
[INFO] [stdout]    --> src/codespan/term/renderer.rs:295:21
[INFO] [stdout]     |
[INFO] [stdout] 278 |             for (metrics, ch) in self.char_metrics(source.char_indices()) {
[INFO] [stdout]     |                                  ----------------------------------------
[INFO] [stdout]     |                                  |
[INFO] [stdout]     |                                  immutable borrow occurs here
[INFO] [stdout]     |                                  a temporary with access to the immutable borrow is created here ...
[INFO] [stdout] ...
[INFO] [stdout] 295 |                     self.set_color(self.styles().label(severity, LabelStyle::Primary))?;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 306 |             }
[INFO] [stdout]     |             - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Iterator<Item = (Metrics, char)>`
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/codespan/term/renderer.rs:278:34
[INFO] [stdout]     |
[INFO] [stdout] 278 |             for (metrics, ch) in self.char_metrics(source.char_indices()) {
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/codespan/term/renderer.rs:713:23
[INFO] [stdout]     |
[INFO] [stdout] 713 |         char_indices: impl Iterator<Item = (usize, char)>,
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 711 ~     fn char_metrics<T: Iterator<Item = (usize, char)>>(
[INFO] [stdout] 712 |         &self,
[INFO] [stdout] 713 ~         char_indices: T,
[INFO] [stdout] 714 ~     ) -> impl Iterator<Item = (Metrics, char)> + use<T> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable
[INFO] [stdout]    --> src/codespan/term/renderer.rs:298:21
[INFO] [stdout]     |
[INFO] [stdout] 278 |             for (metrics, ch) in self.char_metrics(source.char_indices()) {
[INFO] [stdout]     |                                  ----------------------------------------
[INFO] [stdout]     |                                  |
[INFO] [stdout]     |                                  immutable borrow occurs here
[INFO] [stdout]     |                                  a temporary with access to the immutable borrow is created here ...
[INFO] [stdout] ...
[INFO] [stdout] 298 |                     self.reset()?;
[INFO] [stdout]     |                     ^^^^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 306 |             }
[INFO] [stdout]     |             - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Iterator<Item = (Metrics, char)>`
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/codespan/term/renderer.rs:278:34
[INFO] [stdout]     |
[INFO] [stdout] 278 |             for (metrics, ch) in self.char_metrics(source.char_indices()) {
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/codespan/term/renderer.rs:713:23
[INFO] [stdout]     |
[INFO] [stdout] 713 |         char_indices: impl Iterator<Item = (usize, char)>,
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 711 ~     fn char_metrics<T: Iterator<Item = (usize, char)>>(
[INFO] [stdout] 712 |         &self,
[INFO] [stdout] 713 ~         char_indices: T,
[INFO] [stdout] 714 ~     ) -> impl Iterator<Item = (Metrics, char)> + use<T> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0500]: closure requires unique access to `*self` but it is already borrowed
[INFO] [stdout]    --> src/codespan/term/renderer.rs:303:69
[INFO] [stdout]     |
[INFO] [stdout] 278 |             for (metrics, ch) in self.char_metrics(source.char_indices()) {
[INFO] [stdout]     |                                  ----------------------------------------
[INFO] [stdout]     |                                  |
[INFO] [stdout]     |                                  borrow occurs here
[INFO] [stdout]     |                                  a temporary with access to the first borrow is created here ...
[INFO] [stdout] ...
[INFO] [stdout] 303 |                     '\t' => (0..metrics.unicode_width).try_for_each(|_| write!(self, " "))?,
[INFO] [stdout]     |                                                                     ^^^        ---- second borrow occurs due to use of `*self` in closure
[INFO] [stdout]     |                                                                     |
[INFO] [stdout]     |                                                                     closure construction occurs here
[INFO] [stdout] ...
[INFO] [stdout] 306 |             }
[INFO] [stdout]     |             - ... and the first borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Iterator<Item = (Metrics, char)>`
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/codespan/term/renderer.rs:278:34
[INFO] [stdout]     |
[INFO] [stdout] 278 |             for (metrics, ch) in self.char_metrics(source.char_indices()) {
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/codespan/term/renderer.rs:713:23
[INFO] [stdout]     |
[INFO] [stdout] 713 |         char_indices: impl Iterator<Item = (usize, char)>,
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 711 ~     fn char_metrics<T: Iterator<Item = (usize, char)>>(
[INFO] [stdout] 712 |         &self,
[INFO] [stdout] 713 ~         char_indices: T,
[INFO] [stdout] 714 ~     ) -> impl Iterator<Item = (Metrics, char)> + use<T> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable
[INFO] [stdout]    --> src/codespan/term/renderer.rs:435:33
[INFO] [stdout]     |
[INFO] [stdout] 413 |               for (metrics, ch) in self
[INFO] [stdout]     |                                    ----
[INFO] [stdout]     |                                    |
[INFO] [stdout]     |  __________________________________immutable borrow occurs here
[INFO] [stdout]     | |
[INFO] [stdout] 414 | |                 .char_metrics(source.char_indices())
[INFO] [stdout] ...   |
[INFO] [stdout] 422 | |                 .chain(std::iter::once((placeholder_metrics, '\0')))
[INFO] [stdout]     | |____________________________________________________________________- a temporary with access to the immutable borrow is created here ...
[INFO] [stdout] ...
[INFO] [stdout] 435 |                           None => self.reset()?,
[INFO] [stdout]     |                                   ^^^^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 455 |               }
[INFO] [stdout]     |               - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `std::iter::Chain<impl Iterator<Item = (Metrics, char)>, std::iter::Once<(Metrics, char)>>`
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/codespan/term/renderer.rs:413:34
[INFO] [stdout]     |
[INFO] [stdout] 413 |               for (metrics, ch) in self
[INFO] [stdout]     |  __________________________________^
[INFO] [stdout] 414 | |                 .char_metrics(source.char_indices())
[INFO] [stdout]     | |____________________________________________________^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/codespan/term/renderer.rs:713:23
[INFO] [stdout]     |
[INFO] [stdout] 713 |         char_indices: impl Iterator<Item = (usize, char)>,
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 711 ~     fn char_metrics<T: Iterator<Item = (usize, char)>>(
[INFO] [stdout] 712 |         &self,
[INFO] [stdout] 713 ~         char_indices: T,
[INFO] [stdout] 714 ~     ) -> impl Iterator<Item = (Metrics, char)> + use<T> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable
[INFO] [stdout]    --> src/codespan/term/renderer.rs:437:29
[INFO] [stdout]     |
[INFO] [stdout] 413 |               for (metrics, ch) in self
[INFO] [stdout]     |                                    ----
[INFO] [stdout]     |                                    |
[INFO] [stdout]     |  __________________________________immutable borrow occurs here
[INFO] [stdout]     | |
[INFO] [stdout] 414 | |                 .char_metrics(source.char_indices())
[INFO] [stdout] ...   |
[INFO] [stdout] 422 | |                 .chain(std::iter::once((placeholder_metrics, '\0')))
[INFO] [stdout]     | |____________________________________________________________________- a temporary with access to the immutable borrow is created here ...
[INFO] [stdout] ...
[INFO] [stdout] 437 |                               self.set_color(self.styles().label(severity, label_style))?;
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 455 |               }
[INFO] [stdout]     |               - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `std::iter::Chain<impl Iterator<Item = (Metrics, char)>, std::iter::Once<(Metrics, char)>>`
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/codespan/term/renderer.rs:413:34
[INFO] [stdout]     |
[INFO] [stdout] 413 |               for (metrics, ch) in self
[INFO] [stdout]     |  __________________________________^
[INFO] [stdout] 414 | |                 .char_metrics(source.char_indices())
[INFO] [stdout]     | |____________________________________________________^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/codespan/term/renderer.rs:713:23
[INFO] [stdout]     |
[INFO] [stdout] 713 |         char_indices: impl Iterator<Item = (usize, char)>,
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 711 ~     fn char_metrics<T: Iterator<Item = (usize, char)>>(
[INFO] [stdout] 712 |         &self,
[INFO] [stdout] 713 ~         char_indices: T,
[INFO] [stdout] 714 ~     ) -> impl Iterator<Item = (Metrics, char)> + use<T> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0500]: closure requires unique access to `*self` but it is already borrowed
[INFO] [stdout]    --> src/codespan/term/renderer.rs:451:61
[INFO] [stdout]     |
[INFO] [stdout] 413 |               for (metrics, ch) in self
[INFO] [stdout]     |                                    ----
[INFO] [stdout]     |                                    |
[INFO] [stdout]     |  __________________________________borrow occurs here
[INFO] [stdout]     | |
[INFO] [stdout] 414 | |                 .char_metrics(source.char_indices())
[INFO] [stdout] ...   |
[INFO] [stdout] 422 | |                 .chain(std::iter::once((placeholder_metrics, '\0')))
[INFO] [stdout]     | |____________________________________________________________________- a temporary with access to the first borrow is created here ...
[INFO] [stdout] ...
[INFO] [stdout] 451 |                       (0..metrics.unicode_width).try_for_each(|_| write!(self, "{}", caret_ch))?;
[INFO] [stdout]     |                                                               ^^^        ---- second borrow occurs due to use of `*self` in closure
[INFO] [stdout]     |                                                               |
[INFO] [stdout]     |                                                               closure construction occurs here
[INFO] [stdout] ...
[INFO] [stdout] 455 |               }
[INFO] [stdout]     |               - ... and the first borrow might be used here, when that temporary is dropped and runs the destructor for type `std::iter::Chain<impl Iterator<Item = (Metrics, char)>, std::iter::Once<(Metrics, char)>>`
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/codespan/term/renderer.rs:413:34
[INFO] [stdout]     |
[INFO] [stdout] 413 |               for (metrics, ch) in self
[INFO] [stdout]     |  __________________________________^
[INFO] [stdout] 414 | |                 .char_metrics(source.char_indices())
[INFO] [stdout]     | |____________________________________________________^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/codespan/term/renderer.rs:713:23
[INFO] [stdout]     |
[INFO] [stdout] 713 |         char_indices: impl Iterator<Item = (usize, char)>,
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 711 ~     fn char_metrics<T: Iterator<Item = (usize, char)>>(
[INFO] [stdout] 712 |         &self,
[INFO] [stdout] 713 ~         char_indices: T,
[INFO] [stdout] 714 ~     ) -> impl Iterator<Item = (Metrics, char)> + use<T> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable
[INFO] [stdout]    --> src/codespan/term/renderer.rs:304:26
[INFO] [stdout]     |
[INFO] [stdout] 278 |             for (metrics, ch) in self.char_metrics(source.char_indices()) {
[INFO] [stdout]     |                                  ----------------------------------------
[INFO] [stdout]     |                                  |
[INFO] [stdout]     |                                  immutable borrow occurs here
[INFO] [stdout]     |                                  a temporary with access to the immutable borrow is created here ...
[INFO] [stdout] ...
[INFO] [stdout] 304 |                     _ => write!(self, "{}", ch)?,
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] 305 |                 }
[INFO] [stdout] 306 |             }
[INFO] [stdout]     |             - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Iterator<Item = (Metrics, char)>`
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/codespan/term/renderer.rs:278:34
[INFO] [stdout]     |
[INFO] [stdout] 278 |             for (metrics, ch) in self.char_metrics(source.char_indices()) {
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/codespan/term/renderer.rs:713:23
[INFO] [stdout]     |
[INFO] [stdout] 713 |         char_indices: impl Iterator<Item = (usize, char)>,
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 711 ~     fn char_metrics<T: Iterator<Item = (usize, char)>>(
[INFO] [stdout] 712 |         &self,
[INFO] [stdout] 713 ~         char_indices: T,
[INFO] [stdout] 714 ~     ) -> impl Iterator<Item = (Metrics, char)> + use<T> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable
[INFO] [stdout]    --> src/codespan/term/renderer.rs:806:21
[INFO] [stdout]     |
[INFO] [stdout] 796 |         for (metrics, ch) in self.char_metrics(char_indices) {
[INFO] [stdout]     |                              -------------------------------
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              immutable borrow occurs here
[INFO] [stdout]     |                              a temporary with access to the immutable borrow is created here ...
[INFO] [stdout] ...
[INFO] [stdout] 806 |                     self.set_color(self.styles().label(severity, label_style))?;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 816 |         }
[INFO] [stdout]     |         - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Iterator<Item = (Metrics, char)>`
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/codespan/term/renderer.rs:796:30
[INFO] [stdout]     |
[INFO] [stdout] 796 |         for (metrics, ch) in self.char_metrics(char_indices) {
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/codespan/term/renderer.rs:713:23
[INFO] [stdout]     |
[INFO] [stdout] 713 |         char_indices: impl Iterator<Item = (usize, char)>,
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 711 ~     fn char_metrics<T: Iterator<Item = (usize, char)>>(
[INFO] [stdout] 712 |         &self,
[INFO] [stdout] 713 ~         char_indices: T,
[INFO] [stdout] 714 ~     ) -> impl Iterator<Item = (Metrics, char)> + use<T> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable
[INFO] [stdout]    --> src/codespan/term/renderer.rs:808:21
[INFO] [stdout]     |
[INFO] [stdout] 796 |         for (metrics, ch) in self.char_metrics(char_indices) {
[INFO] [stdout]     |                              -------------------------------
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              immutable borrow occurs here
[INFO] [stdout]     |                              a temporary with access to the immutable borrow is created here ...
[INFO] [stdout] ...
[INFO] [stdout] 808 |                     self.reset()?;
[INFO] [stdout]     |                     ^^^^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 816 |         }
[INFO] [stdout]     |         - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Iterator<Item = (Metrics, char)>`
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/codespan/term/renderer.rs:796:30
[INFO] [stdout]     |
[INFO] [stdout] 796 |         for (metrics, ch) in self.char_metrics(char_indices) {
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/codespan/term/renderer.rs:713:23
[INFO] [stdout]     |
[INFO] [stdout] 713 |         char_indices: impl Iterator<Item = (usize, char)>,
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 711 ~     fn char_metrics<T: Iterator<Item = (usize, char)>>(
[INFO] [stdout] 712 |         &self,
[INFO] [stdout] 713 ~         char_indices: T,
[INFO] [stdout] 714 ~     ) -> impl Iterator<Item = (Metrics, char)> + use<T> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0500]: closure requires unique access to `*self` but it is already borrowed
[INFO] [stdout]    --> src/codespan/term/renderer.rs:814:37
[INFO] [stdout]     |
[INFO] [stdout] 796 |         for (metrics, ch) in self.char_metrics(char_indices) {
[INFO] [stdout]     |                              -------------------------------
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              borrow occurs here
[INFO] [stdout]     |                              a temporary with access to the first borrow is created here ...
[INFO] [stdout] ...
[INFO] [stdout] 814 |                 spaces.try_for_each(|_| write!(self, " "))?;
[INFO] [stdout]     |                                     ^^^        ---- second borrow occurs due to use of `*self` in closure
[INFO] [stdout]     |                                     |
[INFO] [stdout]     |                                     closure construction occurs here
[INFO] [stdout] 815 |             }
[INFO] [stdout] 816 |         }
[INFO] [stdout]     |         - ... and the first borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Iterator<Item = (Metrics, char)>`
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/codespan/term/renderer.rs:796:30
[INFO] [stdout]     |
[INFO] [stdout] 796 |         for (metrics, ch) in self.char_metrics(char_indices) {
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/codespan/term/renderer.rs:713:23
[INFO] [stdout]     |
[INFO] [stdout] 713 |         char_indices: impl Iterator<Item = (usize, char)>,
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 711 ~     fn char_metrics<T: Iterator<Item = (usize, char)>>(
[INFO] [stdout] 712 |         &self,
[INFO] [stdout] 713 ~         char_indices: T,
[INFO] [stdout] 714 ~     ) -> impl Iterator<Item = (Metrics, char)> + use<T> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable
[INFO] [stdout]    --> src/codespan/term/renderer.rs:807:21
[INFO] [stdout]     |
[INFO] [stdout] 796 |         for (metrics, ch) in self.char_metrics(char_indices) {
[INFO] [stdout]     |                              -------------------------------
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              immutable borrow occurs here
[INFO] [stdout]     |                              a temporary with access to the immutable borrow is created here ...
[INFO] [stdout] ...
[INFO] [stdout] 807 |                     write!(self, "{}", self.chars().pointer_left)?;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 816 |         }
[INFO] [stdout]     |         - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Iterator<Item = (Metrics, char)>`
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/codespan/term/renderer.rs:796:30
[INFO] [stdout]     |
[INFO] [stdout] 796 |         for (metrics, ch) in self.char_metrics(char_indices) {
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/codespan/term/renderer.rs:713:23
[INFO] [stdout]     |
[INFO] [stdout] 713 |         char_indices: impl Iterator<Item = (usize, char)>,
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 711 ~     fn char_metrics<T: Iterator<Item = (usize, char)>>(
[INFO] [stdout] 712 |         &self,
[INFO] [stdout] 713 ~         char_indices: T,
[INFO] [stdout] 714 ~     ) -> impl Iterator<Item = (Metrics, char)> + use<T> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0500]: closure requires unique access to `*self` but it is already borrowed
[INFO] [stdout]    --> src/codespan/term/renderer.rs:901:31
[INFO] [stdout]     |
[INFO] [stdout] 895 |           for (metrics, _) in self
[INFO] [stdout]     |                               ----
[INFO] [stdout]     |                               |
[INFO] [stdout]     |  _____________________________borrow occurs here
[INFO] [stdout]     | |
[INFO] [stdout] 896 | |             .char_metrics(source.char_indices())
[INFO] [stdout] 897 | |             .take_while(|(metrics, _)| metrics.byte_index < start + 1)
[INFO] [stdout]     | |______________________________________________________________________- a temporary with access to the first borrow is created here ...
[INFO] [stdout] ...
[INFO] [stdout] 901 |                   .try_for_each(|_| write!(self, "{}", self.chars().multi_top))?;
[INFO] [stdout]     |                                 ^^^        ---- second borrow occurs due to use of `*self` in closure
[INFO] [stdout]     |                                 |
[INFO] [stdout]     |                                 closure construction occurs here
[INFO] [stdout] 902 |           }
[INFO] [stdout]     |           - ... and the first borrow might be used here, when that temporary is dropped and runs the destructor for type `TakeWhile<impl Iterator<Item = (Metrics, char)>, {closure@src/codespan/term/renderer.rs:897:25: 897:39}>`
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/codespan/term/renderer.rs:895:29
[INFO] [stdout]     |
[INFO] [stdout] 895 |           for (metrics, _) in self
[INFO] [stdout]     |  _____________________________^
[INFO] [stdout] 896 | |             .char_metrics(source.char_indices())
[INFO] [stdout]     | |________________________________________________^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/codespan/term/renderer.rs:713:23
[INFO] [stdout]     |
[INFO] [stdout] 713 |         char_indices: impl Iterator<Item = (usize, char)>,
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 711 ~     fn char_metrics<T: Iterator<Item = (usize, char)>>(
[INFO] [stdout] 712 |         &self,
[INFO] [stdout] 713 ~         char_indices: T,
[INFO] [stdout] 714 ~     ) -> impl Iterator<Item = (Metrics, char)> + use<T> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0500]: closure requires unique access to `*self` but it is already borrowed
[INFO] [stdout]    --> src/codespan/term/renderer.rs:935:31
[INFO] [stdout]     |
[INFO] [stdout] 929 |           for (metrics, _) in self
[INFO] [stdout]     |                               ----
[INFO] [stdout]     |                               |
[INFO] [stdout]     |  _____________________________borrow occurs here
[INFO] [stdout]     | |
[INFO] [stdout] 930 | |             .char_metrics(source.char_indices())
[INFO] [stdout] 931 | |             .take_while(|(metrics, _)| metrics.byte_index < start)
[INFO] [stdout]     | |__________________________________________________________________- a temporary with access to the first borrow is created here ...
[INFO] [stdout] ...
[INFO] [stdout] 935 |                   .try_for_each(|_| write!(self, "{}", self.chars().multi_bottom))?;
[INFO] [stdout]     |                                 ^^^        ---- second borrow occurs due to use of `*self` in closure
[INFO] [stdout]     |                                 |
[INFO] [stdout]     |                                 closure construction occurs here
[INFO] [stdout] 936 |           }
[INFO] [stdout]     |           - ... and the first borrow might be used here, when that temporary is dropped and runs the destructor for type `TakeWhile<impl Iterator<Item = (Metrics, char)>, {closure@src/codespan/term/renderer.rs:931:25: 931:39}>`
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/codespan/term/renderer.rs:929:29
[INFO] [stdout]     |
[INFO] [stdout] 929 |           for (metrics, _) in self
[INFO] [stdout]     |  _____________________________^
[INFO] [stdout] 930 | |             .char_metrics(source.char_indices())
[INFO] [stdout]     | |________________________________________________^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/codespan/term/renderer.rs:713:23
[INFO] [stdout]     |
[INFO] [stdout] 713 |         char_indices: impl Iterator<Item = (usize, char)>,
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 711 ~     fn char_metrics<T: Iterator<Item = (usize, char)>>(
[INFO] [stdout] 712 |         &self,
[INFO] [stdout] 713 ~         char_indices: T,
[INFO] [stdout] 714 ~     ) -> impl Iterator<Item = (Metrics, char)> + use<T> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0500, E0502.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0500`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rslint_errors` (lib test) due to 13 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] Some errors have detailed explanations: E0500, E0502.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0500`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rslint_errors` (lib) due to 13 previous errors
[INFO] running `Command { std: "docker" "inspect" "44d0918a821ecbeecd481795b5f5e406958e29c5ed349bee9325959f7fbad14c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "44d0918a821ecbeecd481795b5f5e406958e29c5ed349bee9325959f7fbad14c", kill_on_drop: false }`
[INFO] [stdout] 44d0918a821ecbeecd481795b5f5e406958e29c5ed349bee9325959f7fbad14c
